package com.yang.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yang.domain.entity.ExceptionLog;
import com.yang.mapper.ExceptionLogMapper;
import com.yang.service.ExceptionLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 异常日志业务接口实现类
 *
 * @author yang
 */
@Service
public class ExceptionLogServiceImpl extends ServiceImpl<ExceptionLogMapper, ExceptionLog> implements ExceptionLogService {

    @Autowired
    private ExceptionLogMapper exceptionLogMapper;



    @Override
    public void saveExceptionLog(ExceptionLog exceptionLog) {
        // 保存异常日志
        exceptionLogMapper.insert(exceptionLog);
    }
}




